

# 命名关键字形参
# def myfunc(a, b, *, c, d):
#     print(a, b, c, d)

def myfunc(a, b, *args, c, d):
    print(a, b, c, d)

# myfunc(1, 2, 3, 4)  # 报错
myfunc(1, 2, c=3, d=4)